﻿@using BusinessObjects
@using MvcCheckBoxList.Model
@using WebUI.HtmlHelpers

@model WebUI.Models.NccDetailModel

@{
    var selectedIds = new List<int> { 1, 3, 5 };
}
<div class="ncc-postcontent">
    <h2>@Model.Ncc.HoTen</h2>
    <div class="ncc-table ncc-toolbar-search">
        <div class="ncc-table-row">
            <div class="ncc-table-cell" style="padding-right: 10px">
                <div class="ncc-table">
                    <div class="ncc-table-row">
                        <div class="ncc-table-cell lable-cell">@Ncc.Const.NAM_SINH
                        </div>
                        <div class="ncc-table-cell">
                            @Model.Ncc.NamSinh
                        </div>
                    </div>
                    <div class="ncc-table-row">
                        <div class="ncc-table-cell lable-cell">@Ncc.Const.GIOI_TINH
                        </div>
                        <div class="ncc-table-cell">
                            @( (bool)Model.Ncc.GioiTinh ? "Nam" : "Nữ")
                        </div>
                    </div>
                    <div class="ncc-table-row">
                        <div class="ncc-table-cell lable-cell">@Ncc.Const.NOI_CAP_TRUY_LINH
                        </div>
                        <div class="ncc-table-cell">
                            @*@Model.NoiCapTLinh.QuanHuyen.Ten*@
                            @Model.Ncc.NoiCapTruyLinh
                        </div>
                    </div>
                    <div class="ncc-table-row">
                        <div class="ncc-table-cell lable-cell">@Ncc.Const.NGUYEN_QUAN
                        </div>
                        <div class="ncc-table-cell">
                            @*@Model.NoiCapTLinh.Ten*@
                            @Model.Ncc.NguyenQuan
                        </div>
                    </div>
                    <div class="ncc-table-row">
                        <div class="ncc-table-cell lable-cell">@NhomNcc.Const.ENTITY
                        </div>
                        <div class="ncc-table-cell">
                            @Html.ListText(Model.Ncc.NhomNcc.Select(x => x.Ten).OrderBy(x => x))
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
